package net.learn.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import net.learn.system.entity.SysJudgeEntity;
import net.learn.system.query.SysJudgeQuery;
import net.learn.system.vo.SysJudgeVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 李立志
 * @since 2022-01-11
 */
@Mapper
public interface SysJudgeDao extends BaseMapper<SysJudgeEntity> {

    List<SysJudgeVO> qryJudgeRandList(@Param("SysJudgeQuery") SysJudgeQuery qry);

    List<SysJudgeVO> qryJudgePaper(@Param("SysJudgeQuery") SysJudgeQuery qry);

    List<SysJudgeVO> qryJudgePaperList(@Param("SysJudgeQuery") SysJudgeQuery qry);

    IPage<SysJudgeEntity> qryJudgeListPage(IPage<SysJudgeEntity> page, @Param("SysJudgeQuery") SysJudgeQuery qry);

    IPage<SysJudgeEntity> qryQuestionJudge(IPage<SysJudgeEntity> page, @Param("SysJudgeQuery") SysJudgeQuery qry);
}
